package com.kadron.order;

import java.util.Date;

import com.kadron.entity.Currency;
import com.kadron.enumeration.OrderStatus;

public class SearchOrder {

	private long userId;
	private Date orderFrom;
	private Date orderTo;

	private Date validFrom;
	private Date validTo;

	private Currency currency;
	private String username;

	private Double priceFrom;
	private Double priceTo;

	private String itemName;
	private String application;
	private String itemType;
	
	private OrderStatus status;

	public SearchOrder() {
		super();
	}
	
	public SearchOrder(long userId) {
		this();
		this.userId = userId;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public Date getOrderFrom() {
		return orderFrom;
	}

	public void setOrderFrom(Date orderFrom) {
		this.orderFrom = orderFrom;
	}

	public Date getOrderTo() {
		return orderTo;
	}

	public void setOrderTo(Date orderTo) {
		this.orderTo = orderTo;
	}

	public Date getValidFrom() {
		return validFrom;
	}

	public void setValidFrom(Date validFrom) {
		this.validFrom = validFrom;
	}

	public Date getValidTo() {
		return validTo;
	}

	public void setValidTo(Date validTo) {
		this.validTo = validTo;
	}

	public Currency getCurrency() {
		return currency;
	}

	public void setCurrency(Currency currency) {
		this.currency = currency;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Double getPriceFrom() {
		return priceFrom;
	}

	public void setPriceFrom(Double priceFrom) {
		this.priceFrom = priceFrom;
	}

	public Double getPriceTo() {
		return priceTo;
	}

	public void setPriceTo(Double priceTo) {
		this.priceTo = priceTo;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getApplication() {
		return application;
	}

	public void setApplication(String application) {
		this.application = application;
	}

	public String getItemType() {
		return itemType;
	}

	public void setItemType(String itemType) {
		this.itemType = itemType;
	}

	public OrderStatus getStatus() {
		return status;
	}

	public void setStatus(OrderStatus status) {
		this.status = status;
	}

}
